﻿
using System;
using System.Data;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

public partial class MemSendCard : PageBase
{


    protected void Page_Load(object sender, EventArgs e)
    {
        if (!base.IsPostBack)
        {
            PubFunction.BindMemLevelSelect(this.sltMemLevelID, false);
            if (PubFunction.curParameter.RegNullPwd)
            {
                this.pw1.Attributes.Add("style", "display:none;");
                this.pw2.Attributes.Add("style", "display:none;");
                this.YesOrNoPwd.Value = "1";
            }
            Get_ParameterList();
        }
    }

    private void Get_ParameterList()
    {
        Chain.BLL.Activity ActivityBll = new Chain.BLL.Activity();
        DataTable dt = ActivityBll.ActivityShow();

        foreach (DataRow dr in dt.Rows)
        {

            ActivityID.Items.Add(new ListItem(dr["Name"].ToString(), dr["ID"].ToString()));

        }

    }
}


